package com.zeng.stpro.modules.app.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author ZENGZHIJUN
 * @Date 2021/2/2 17:51
 */
@Data
@TableName("sys_permission")
public class SysPermisson implements Serializable {

    @TableId(value = "permission_id")
    private Long permissionId;
    private String permissionName;
    private String permissionCode;
    private Long parentId;
    private String menuPath;
    private Integer menuType;//'菜单类型(0:目录,1:菜单,2:按钮)',
    private String deleteStatus;//'删除标志（0代表存在 1代表删除）',
    private String createByUserid;
    private String updateByUserid;

    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

}
